libxl: Properly parse vbd names
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 5 Feb 2010 10:36:17 +0000 (10:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 5 Feb 2010 10:36:17 +0000 (10:36 +0000)
commite9703a99deed70520b29609aa057b71222156f64
treeb88eafe5c129277228f01ce650551e55e4076312
parent10d13f8ac61c6ae61559837300f1382eb3bd088d
libxl: Properly parse vbd names

Implement proper parsing of vbd names, as documented here:
  From: Ian Jackson <Ian.Jackson@eu.citrix.com>
  Subject: Xen vbd numbering
  Date: Wed, 03 Feb 2010 16:51:47 GMT
  Message-ID: <19305.43376.600816.817077@mariner.uk.xensource.com>
  http://lists.xensource.com/archives/html/xen-devel/2010-02/msg00183.html

Previously, xvd and numerical specification were broken in libxl.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h